home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mmdf / mmdf-IIb.43 / uip / ucbmail / mmdf.h < prev    next >
Encoding:
C/C++ Source or Header  |  1986-02-01  |  1.4 KB  |  58 lines

  1. /*
  2.  *  M M D F . H 
  3.  *
  4.  *  EE/CIS Computer Lab
  5.  *  Department of Computer and Information Sciences
  6.  *  Department of Electrical Engineering
  7.  *  University of Delaware
  8.  *
  9.  *  REVISION HISTORY:
  10.  *
  11.  *  $Revision: 1.4 $
  12.  *
  13.  *  $Log:    mmdf.h,v $
  14.  * Revision 1.4  86/01/02  16:23:51  galvin
  15.  * Add some defines from "util.h" since we can not include
  16.  * it directly.  What a pity.
  17.  * 
  18.  * Revision 1.3  85/12/18  13:24:03  galvin
  19.  * Add declaration of sentprotect.
  20.  * 
  21.  * Revision 1.2  85/11/20  14:37:19  galvin
  22.  * First set of needed MMDF global variables.  We can read the maildrop now.
  23.  * 
  24.  * Revision 1.1  85/11/18  13:18:42  galvin
  25.  * Added comment header for revision history.
  26.  * 
  27.  *
  28.  */
  29.  
  30. #ifndef FILE
  31. #include <stdio.h>
  32. #endif
  33.  
  34. /*
  35.  * Global declarations needed to use some MMDF routines.
  36.  */
  37.  
  38. extern char    *delim1,    /* message prefix delimiter */
  39.         *delim2,    /* message suffix delimiter */
  40.         *mldflfil,    /* default mailbox file */
  41.         *mldfldir;    /* directory containing mailbox file */
  42.  
  43. extern FILE    *lk_fopen();
  44. extern char    sentprotect;    /* default protection for mail files */
  45.  
  46. /*
  47.  * We pick some of "util.h" to put here.  Would be nice to just include
  48.  * it directly but it includes many files which are otherwise include
  49.  * be Berkeley and the hack to undo it is not worth it.
  50.  */
  51.  
  52. #define    isnull(chr)    ((chr) == '\0')
  53.  
  54. #define YES     1
  55. #define NO      0
  56. #define OK      0
  57. #define NOTOK   -1
  58.